package c.e.a.b.e.c;

import android.os.Bundle;
import android.os.Parcel;
import android.os.RemoteException;
import c.e.a.b.e.c.g.c;

/* compiled from: com.google.android.gms:play-services-measurement-base@@18.0.0 */
public abstract class b extends s0 implements c {
    public b() {
        super("com.google.android.gms.measurement.api.internal.IEventHandlerProxy");
    }

    public final boolean y0(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException {
        if (i == 1) {
            ((c) this).c0(parcel.readString(), parcel.readString(), (Bundle) v.a(parcel, Bundle.CREATOR), parcel.readLong());
            parcel2.writeNoException();
        } else if (i != 2) {
            return false;
        } else {
            i = ((c) this).q();
            parcel2.writeNoException();
            parcel2.writeInt(i);
        }
        return true;
    }
}
